﻿#pragma once
#include <string>
#include <map>
#include <vector>

class Lunar;

class EightChar
{
public:
	EightChar();
	/// <summary>
	/// 月支，按正月起寅排列
	/// </summary>
	static const std::vector<std::string> MONTH_ZHI;
	/// <summary>
	/// 长生十二神
	/// </summary>
	static const std::vector<std::string> CHANG_SHENG;

	int getSect();

	void setSect(int value);


	Lunar* getLunar();

	EightChar(Lunar* lunar);



private:
	static const std::map<std::string, int> CHANG_SHENG_OFFSET;

	int _sect = 2;

	Lunar* _lunar;
};

